package com.bdth.weget.home.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2019/8/14.
 */
public class CarStatus implements Serializable{
    private Integer carid;
    //车队名称
    private String fleetname;
    //sim卡号
    private String simno;
    //终端编号
    private String carno;
    //车牌号
    private String plateno;
    //车辆归属
    private String carown;
    //车辆类型
    private String cartype;
    //总公里数
    private Integer runtotal;
    //车辆限速
    private Integer limitspeed;
    //更新时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
    //纬度
    private double latitude;
    //经度
    private double longitude;
    //高程
    private Integer altitude;
    //速度
    private double speed;
    //方向
    private Integer course;
    //状态
    private Integer status;
    //告警状态
    private Integer warnning;
    //当前地址
    private String address;

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    public String getFleetname() {
        return fleetname;
    }

    public void setFleetname(String fleetname) {
        this.fleetname = fleetname;
    }

    public String getSimno() {
        return simno;
    }

    public void setSimno(String simno) {
        this.simno = simno;
    }

    public String getCarno() {
        return carno;
    }

    public void setCarno(String carno) {
        this.carno = carno;
    }

    public String getPlateno() {
        return plateno;
    }

    public void setPlateno(String plateno) {
        this.plateno = plateno;
    }

    public String getCarown() {
        return carown;
    }

    public void setCarown(String carown) {
        this.carown = carown;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public Integer getRuntotal() {
        return runtotal;
    }

    public void setRuntotal(Integer runtotal) {
        this.runtotal = runtotal;
    }

    public Integer getLimitspeed() {
        return limitspeed;
    }

    public void setLimitspeed(Integer limitspeed) {
        this.limitspeed = limitspeed;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public Integer getAltitude() {
        return altitude;
    }

    public void setAltitude(Integer altitude) {
        this.altitude = altitude;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public Integer getCourse() {
        return course;
    }

    public void setCourse(Integer course) {
        this.course = course;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getWarnning() {
        return warnning;
    }

    public void setWarnning(Integer warnning) {
        this.warnning = warnning;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

}
